<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<p v-if="seen">现在你看到我了</p>
			<p v-if="seen2">现在你看到我了2</p>
			<div v-if="0.1 > 0.5">
		      Sorry
		    </div>
		    <div v-else>
		       Not sorry
		    </div>
		    
		    <div v-if="type === 'A'">
		      A
		    </div>
		    <div v-else-if="type === 'B'">
		      B
		    </div>
		    <div v-else-if="type === 'C'">
		      C
		    </div>
		    <div v-else>
		      Not A/B/C
		    </div>
			<h1 v-show="ok">Hello!</h1>		    
		</div>
	</body>
	<script src="js/vue.min.js" type="text/javascript" charset="utf-8"></script>
	<script>
		new Vue({
			el:"#app",
			data:{
				seen:true,
				seen2:false,
				type:"A",
				ok:true
			}
		})
	</script>
</html>
